package com.zzf.concurrent.example.design.pattern.thread.local.context;

import java.util.stream.IntStream;

/**
 * @author GaoFeng2017
 * @date 2019/9/8 15:08
 */
public class App {

    public static void main(String[] args) {
        OrderService orderService = new OrderService();
        IntStream.rangeClosed(1, 5).forEach(index -> {
            new Thread(orderService).start();
        });
    }
}
